﻿@if(Request.IsAuthenticated) {
    <ul class="nav nav-pills">
        @if(Request.RawUrl.EndsWith("/Home/Index")){
            <li class="active">@Html.ActionLink("Home","Index", "Home")</li>
        }else{
            <li>@Html.ActionLink("Home","Index", "Home")</li>
        }

        @if(Request.RawUrl.EndsWith("/Account/Edit")){
            <li class="active">@Html.ActionLink("Edit Account","Edit", "Account")</li>
        }else{
            <li>@Html.ActionLink("Edit Account","Edit", "Account")</li>
        }

        <li>@Html.ActionLink("Log Off", "LogOff", "Account")</li>        
    </ul>
}
